//	@file Version: 1.0
//	@file Name: ADP_F_VDUpdate.sqf
//	@file Author: THumbert
//	@file Created: 12/14/2013
//	@file Description: Updates the View settings from the Combo Selections on the Main Page of ADP

_viewDistance = 2100;
_grass = 2101;
_ShadowDistance = 2102;
_TargetVD = lbValue [_viewDistance, (lbCurSel _viewDistance)];
_TargetG = lbValue [_grass, (lbCurSel _grass)];
_TargetSD = lbValue [_ShadowDistance, (lbCurSel _ShadowDistance)];
if (_TargetVD != 0) then {setViewDistance _TargetVD;};
if (_TargetG != 0) then {setTerrainGrid _TargetG;};
if (_TargetSD != 0) then {setShadowDistance _TargetSD;};